package com.minglv.mini.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.util.Date;

/**
 * 用户收藏
 */
@Data
public class UserFavorites {

    private Long id;
    private Integer status; //` tinyint(2) DEFAULT '1',
    private Integer type; //` tinyint(2) DEFAULT '1','收藏类型，默认1 活动 2积分'
    private Long userId; //` tinyint(2) DEFAULT '1',
    private Long itemId; //` tinyint(2) DEFAULT '1',

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createdAt; //` timestamp NULL DEFAULT NULL,

    private Date updatedAt; //` timestamp NULL DEFAULT NULL,


}
